<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Content-Language" content="zh-CN" />
<meta name="author" content="tis-tis" />
<link href="{$tpl_path}/adminstyle.css" type=text/css rel=stylesheet />
<title>{$title}</title>
</head>

<body>
<!-- 头部 -->
<div class="adminbox">{include file="header.tpl"}
<!-- 左边工具条-->
<div class="mainbox">{include file="sidebar.tpl"}
<!-- 右边内容部分，即可变部分 -->
<div class="contentbox">
<div>
<table class="table_border" width="859px" cellspacing="0" cellpadding="0">
  <tr>
    <th>文章编号</th>
    <th>文章名称</th>
    <th>文章分类</th>
    <th>添加日期</th>
    <th>操作</th>
  </tr>
  {foreach from=$article_list item=article}
  <tr align="center">
    <td align="center" valign="top" >
      <span style="margin-left:{$cat.level}em"><a href="article.php?act=edit&amp;id={$article.article_id}">{$article.article_id}</a></span>
    </td>
    <td valign="top">
      <span style="margin-left:{$cat.level}em"><a href="article.php?act=edit&amp;id={$article.article_id}">{$article.title|escape}</a></span>
    </td>
    <td align="center" valign="top">
      {$article.cat_name|escape}
    </td>
    <td align="center" valign="top">
      {$article.add_date}
    </td>
    <td width="24%" align="center" valign="top">
      <a href="article.php?act=edit&amp;id={$article.article_id}">编辑</a>
      |
      <a href="article.php?act=delete&amp;id={$article.article_id}" title="删除该分类">删除</a>
      
    </td>
  </tr>
  {/foreach}
</table>
</div>
<div align="center" style="padding-top:10px;">
  <a href="article.php?act=add" title="添加新文章">添加新文章</a>
</div>
</div>
</div>
</div>

</body>
</html>